package mapper;

import com.tomorrow.javabean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {
    public List<User> findUserByNameOrPhone(User user);

    public List<User> findUserByPerditionOne(User user);

    public int updateUser(User user);

    public List<User> findUserByIds(List<Integer> uids);

    public List<User> findUserByUserName(User user);

    public List<User> findUserBySusername(@Param("username") String username);
}
